From f9da4f0270c8ebbadc1500bd42bd2594c4c9edb3 Mon Sep 17 00:00:00 2001 From: Benjamin Otte Date: Tue, 8 Nov 2016 02:15:43 +0100 Subject: [PATCH] render: Clip the correct rectangle We translated before. --- gtk/gtkrenderbackground.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gtk/gtkrenderbackground.c b/gtk/gtkrenderbackground.c index 80e17dcb18..c3bc5cd2de 100644 --- a/gtk/gtkrenderbackground.c +++ b/gtk/gtkrenderbackground.c @@ -387,7 +387,7 @@ gtk_css_style_render_background (GtkCssStyle *style, if (needs_push_group) { cairo_save (cr); - cairo_rectangle (cr, x, y, width, height); + cairo_rectangle (cr, 0, 0, width, height); cairo_clip (cr); cairo_push_group (cr); } -- 2.30.2